package com.hant;

import com.hant.shopserivce.api.service.user.RpcShopUserService;
import org.apache.dubbo.config.annotation.Reference;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * description:
 *
 * @auth hanjietao
 * @time
 */
@SpringBootApplication
@EnableDubbo
//@RestController
public class ShopServiceOrder1Application {

/*
    @Reference
    RpcShopUserService shopUserService;

    @RequestMapping(name = "/queryOrder", method = RequestMethod.GET)
    public String queryOrder(){
        return shopUserService.queryUser("query user, ");
    }
*/

    public static void main(String[] args) {
        SpringApplication.run(ShopServiceOrder1Application.class, args);
    }

}
